package org.syncsoft.overalt.gui.api;

import org.syncsoft.overalt.core.api.Core;

/**
 * it's implements the singleton pattern
 * @author tptfc
 *
 */
public class Gui implements IGui {
	private static final Gui instance;
	
	static {
		instance = new Gui();
		Core.getInstance().addObserver(instance);
	}
	
	private Gui() {}
	
	public static Gui getInstance() {
		return instance;
	}
	
	/*
	 * (non-Javadoc)
	 * @see org.syncsoft.common.api.IObserver#updateObserver()
	 */
	@Override
	public void updateObserver() {
		// TODO Auto-generated method stub
	}

	/*
	 * (non-Javadoc)
	 * @see org.syncsoft.gui.api.IGui#add(java.lang.String)
	 */
	@Override
	public void add(String path) {
	}
	
	@Override
	public void commit() {
	}
}
